namespace CSharpPro._10_20_01;

public class demo01
{
    public static void Main()
    {
        demo c = new demo();
        int[] arr = { 64, 34, 25, 12, 22, 11, 90 };
        Console.WriteLine("原始数组:");
        Console.WriteLine(string.Join(", ", arr));
        c.BubbleSort(arr);
        Console.WriteLine("\n排序后数组:");
        Console.WriteLine(string.Join(", ", arr));
    }
}